<div class="header">
    <a class="logo" href="/">
    </a>
    <div class="main-nav">
        <if condition="($_SESSION['phone'])">
            <a href="/">{$_SESSION['phone']}</a>
            <if condition="($_SESSION['type'] eq 2)">
                <a href="/Home/Order/studentorder">我的课程</a>
            <else/>
                <a href="/Home/Teacher/center">个人中心</a>
            </if>
            <a href="/Home/Index/logoout">退出</a>
        <else/>
            <a href="/">首页</a>
        </if>
        <a href="/Home/Index/teacherList">找老师</a>
        <a href="javascript:;" class="fastparentOrder">发需求</a>
        <a href="#">教员</a>
        <a href="/">关于我们</a>
    </div>
    <if condition="($_SESSION['phone'])">

    <else/>
        <div class="operator">
            <a href="/Home/Index/register" class="active">注册</a>
            <a href="/Home/Index/login">登录</a>
        </div>
    </if>
</div>

